
<script>
    require.config({
        paths: {
            'echarts':'https://cdn.jsdelivr.net/gh/pyecharts/pyecharts-assets@master/assets/echarts.min', 'bmap':'https://cdn.jsdelivr.net/gh/pyecharts/pyecharts-assets@master/assets/bmap.min', 'baidu_map_api46':'https://api.map.baidu.com/api?v=2.0&ak=FAKE_AK', 'baidu_map_api52':'https://api.map.baidu.com/getscript?v=2.0&ak=FAKE_AK'
        }
    });
</script>

        <div id="9f55385c2adc4589ada59e2b3d76d9c2" style="width:100%; height:500px;"></div>

<script>
        require(['echarts', 'bmap', 'baidu_map_api46', 'baidu_map_api52'], function(echarts) {
                var chart_9f55385c2adc4589ada59e2b3d76d9c2 = echarts.init(
                    document.getElementById('9f55385c2adc4589ada59e2b3d76d9c2'), 'white', {renderer: 'canvas'});
                var option_9f55385c2adc4589ada59e2b3d76d9c2 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "scatter",
            "name": "bmap",
            "coordinateSystem": "bmap",
            "symbolSize": 12,
            "data": [
                {
                    "name": "\u5e7f\u4e1c",
                    "value": [
                        113.26653,
                        23.132191,
                        79
                    ]
                },
                {
                    "name": "\u5317\u4eac",
                    "value": [
                        116.407526,
                        39.90403,
                        73
                    ]
                },
                {
                    "name": "\u4e0a\u6d77",
                    "value": [
                        121.473701,
                        31.230416,
                        134
                    ]
                },
                {
                    "name": "\u6c5f\u897f",
                    "value": [
                        115.909228,
                        28.675696,
                        27
                    ]
                },
                {
                    "name": "\u6e56\u5357",
                    "value": [
                        112.98381,
                        28.112444,
                        80
                    ]
                },
                {
                    "name": "\u6d59\u6c5f",
                    "value": [
                        120.152791,
                        30.267446,
                        62
                    ]
                },
                {
                    "name": "\u6c5f\u82cf",
                    "value": [
                        118.763232,
                        32.061707,
                        129
                    ]
                }
            ],
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "formatter": "{b}"
            }
        }
    ],
    "legend": [
        {
            "data": [
                "bmap"
            ],
            "selected": {
                "bmap": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "formatter": function (params) {        return params.name + ' : ' + params.value[2];    },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "BMap-\u57fa\u672c\u793a\u4f8b",
            "padding": 5,
            "itemGap": 10
        }
    ],
    "bmap": {
        "center": [
            120.13066322374,
            30.240018034923
        ],
        "roam": true
    }
};
                chart_9f55385c2adc4589ada59e2b3d76d9c2.setOption(option_9f55385c2adc4589ada59e2b3d76d9c2);
                    var bmap = chart_9f55385c2adc4589ada59e2b3d76d9c2.getModel().getComponent('bmap').getBMap();
                    bmap.addControl(new BMap.MapTypeControl());
        });
    </script>
